Skip to content

Settings: Legacy Forms: Add Warning Notice - #1164

Open
n7studios wants to merge 2 commits into
mainfrom
plugin-settings-legacy-resource-notice
Open

Settings: Legacy Forms: Add Warning Notice#1164
n7studios wants to merge 2 commits into
mainfrom
plugin-settings-legacy-resource-notice

Conversation

@n7studios

Copy link
Copy Markdown
Contributor

Summary

Adds a non-dismissible yellow warning notice at Settings > Kit when a Post Type reference a legacy form.

Screenshot 2026-08-10 at 12 24 43

Testing

  • testWarningDisplayedForLegacyDefaultFormsSetting: Test a warning is displayed at Settings > Kit when a post type specifies a legacy form
  • testWarningForLegacyPluginDefaultForm: Integration test to confirm get_legacy_warnings_for_plugin_settings returns a warning when a legacy form is specified in the Plugni settings.
  • testNoWarningForPluginSettingsWithoutLegacyForms: Integration test to confirm get_legacy_warnings_for_plugin_settings returns no warnings when no legacy form is specified in the Plugin settings.

Checklist

@n7studios n7studios added this to the 3.3.9 milestone Aug 10, 2026
@n7studios n7studios self-assigned this Aug 10, 2026
@github-actions

Copy link
Copy Markdown

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios
n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team August 10, 2026 06:01
@n7studios
n7studios marked this pull request as ready for review August 10, 2026 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant